package com.cmpe.group6.storyroad.jsonClasses;

/** Representation of the true/false server responses.
 *
 */
public class ServerResponseObject {

	private boolean loginSuccess;
	private boolean signUpSuccess;
	private boolean followSuccess;
	private boolean unfollowSuccess;
	private boolean rateSuccess;
	private boolean deleteSuccess;
	private boolean changePasswordSuccess;
	private boolean addCommentSuccess;
	private boolean success;
	private String errorCode;

	public boolean isLoginSuccess() {
		return loginSuccess;
	}

	public void setLoginSuccess(boolean loginSuccess) {
		this.loginSuccess = loginSuccess;
	}

	public boolean isSignUpSuccess() {
		return signUpSuccess;
	}

	public void setSignUpSuccess(boolean signUpSuccess) {
		this.signUpSuccess = signUpSuccess;
	}

	public String getErrorCode() {
		return errorCode;
	}

	public void setErrorCode(String errorCode) {
		this.errorCode = errorCode;
	}

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public boolean isFollowSuccess() {
		return followSuccess;
	}

	public void setFollowSuccess(boolean followSuccess) {
		this.followSuccess = followSuccess;
	}

	public boolean isUnfollowSuccess() {
		return unfollowSuccess;
	}

	public void setUnfollowSuccess(boolean unfollowSuccess) {
		this.unfollowSuccess = unfollowSuccess;
	}

	public boolean isRateSuccess() {
		return rateSuccess;
	}

	public void setRateSuccess(boolean rateSuccess) {
		this.rateSuccess = rateSuccess;
	}

	public boolean isDeleteSuccess() {
		return deleteSuccess;
	}

	public void setDeleteSuccess(boolean deleteSuccess) {
		this.deleteSuccess = deleteSuccess;
	}

	public boolean isChangePasswordSuccess() {
		return changePasswordSuccess;
	}

	public void setChangePasswordSuccess(boolean changePasswordSuccess) {
		this.changePasswordSuccess = changePasswordSuccess;
	}

	public boolean isAddCommentSuccess() {
		return addCommentSuccess;
	}

	public void setAddCommentSuccess(boolean addCommentSuccess) {
		this.addCommentSuccess = addCommentSuccess;
	}

}
